(async function () {
    console.log(+new Date());
    await sleep(3000)
    console.log(+new Date());

    
})()
function sleep(time) {
    return new Promise(resolve=>setTimeout(resolve,time))
        /* setTimeout(()=>{console.log('1');}, time) */ 
    
    
}